﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExpResult.aspx.cs" Inherits="CURE.Harmful.ExpResult" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <script type="text/javascript">
        $(function () {
            $.ajax({
                url: "/Handler/ConfigHandler.ashx?action=skilllist",
                type: "post",
                success: function (data) {

                    if (data == "1") {

                        //document.getElementById("skill").style.display = "block";
                       
                        for (var i = 1; i <= '<%=TotalCount%>'; i++) {
                            document.getElementById("skill_" + i).style.display = "block";
                            
                        }
                    }

                }
            })
         })
    </script>
    <title>无标题页</title>
</head>
<body>
    <form id="pagerForm" method="post" action="Harmful/ExpResult.aspx">
        <input type="hidden" name="numPerPage" value="<% =NumPerPage %>" />
        <input type="hidden" name="pageNum" value="1" />
        <input type="hidden" name="id" value="<%=Fid %>" />
    </form>
    <div class="pageHeader">
        <form onsubmit="return navTabSearch(this);" action="" method="post">
            <div class="searchBar" style="margin-top: 13px; margin-bottom: 13px">
                <table class="searchContent">
                    <tr>
                        <td>
                            <label>F卡编号：</label><input type="text" maxlength="30" id="fid" name="fid" value="<%=Fid %>" />
                        </td>
                        <td>
                            <div class="buttonActive">
                                <div class="buttonContent">
                                    <button type="submit" style="width: 50px; height: 30px">
                                        检索</button>
                                </div>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </form>
    </div>
    <div class="pageContent" style="margin-top: -2px;">
        <div class="panelBar">
            <%--<ul class="toolBar">
                <li><a class="add" width="1150" height="650" rel="AddUser" href="Harmful/LedgerAdd.aspx?action=add"
                    target="dialog"><span>添加F卡</span></a></li>
            </ul>--%>
        </div>
        <div>
            <table class="table" width="250%" layouth="135">
                <thead>
                    <tr>
                        <th style="text-align: center;">序号</th>
                        <th style="text-align: center;">操作</th>
                        <th style="text-align: center;">附件</th>
                        <%--<th id="skill" style="text-align: center;display:none;">技术判定</th>--%>
                        <th style="text-align: center;">F卡信息编号</th>
                        <th style="text-align: center;">F卡号</th>
                        <th style="text-align: center;">判定名称</th>
                        <th style="text-align: center;">型号</th>
                        <th style="text-align: center;">机台别</th>

                        <th style="text-align: center;">F卡BT号开始</th>
                        <th style="text-align: center;">F卡BT号结束</th>
                        <th style="text-align: center;">发生数量</th>
                        <th style="text-align: center;">F卡生产时间</th>
                        <th style="text-align: center;">橡胶外观目视描述</th>

                        <th style="text-align: center;">材料放置点</th>
                        <th style="text-align: center;">内容</th>
                        <th style="text-align: center;">精炼不良类别</th>
                        <th style="text-align: center;">具体原因</th>
                        <%--<th style="text-align: center;">操作</th>--%>
                    </tr>
                </thead>
                <tbody>
                    <asp:Repeater runat="server" ID="reptMaster">
                        <ItemTemplate>
                            <tr>
                                <td style="text-align: center;"><%#Container.ItemIndex + 1%></td>
                                <td style="text-align: center;">
                                    <a title="实验详情" target="dialog" width="1200" height="600" rel="editLedger" style="color:blue;"
                                        href="Harmful/ExpResultApproval.aspx?page=harmful&id=<%#Eval("ID")%>">实验详情</a>
                                    <a id="skill_<%#Container.ItemIndex + 1%>" style="text-align: center;color:blue;" target="ajaxTodo"
                                         href="Handler/SendToApprovalHandler.ashx?id=<%#Eval("LEDGERID")%>"
                                         title="确认审核通过吗?" class="btnEdit">审核通过</a>
                                </td>
                                <td style="text-align: center;">
                                    <a title="附件查看" target="dialog" width="1200" height="600" rel="downLedger" style="color:blue;"
                                        href="Experiment/ExpFileDown.aspx?lid=<%#Eval("LEDGERID")%>">附件查看</a>
                                </td>
                                <%--<td id="skill_<%#Container.ItemIndex + 1%>" style="text-align: center;color:blue;display:none;"><a title="技术判定书" target="dialog" width="1180" height="460" rel="TBookAdd" style="color:blue;"
                                        href="Harmful/TBookAdd.aspx?PAGE=ExpResult&HID=<%#Eval("LEDGERID")%>&FID=<%#Eval("FID")%>">技术判定书</a></td>--%>
                                <td style="text-align: center;"><%#Eval("LEDGERID")%></td>
                                <td style="text-align: center;"><%#Eval("FID")%></td>
                                <td style="text-align: center;"><%#Eval("JUDGENAME")%></td>
                                <td style="text-align: center;"><%#Eval("EXPTYPE")%></td>
                                <td style="text-align: center;"><%#Eval("MCNO")%></td>

                                <td style="text-align: center;"><%#Eval("BTNOSTART")%></td>
                                <td style="text-align: center;"><%#Eval("BTNOEND")%></td>
                                <td style="text-align: center;"><%#Eval("NUM")%></td>
                                <td style="text-align: center;"><%#Eval("FDATE")%></td>
                                <td style="text-align: center;"><%#Eval("DESCRIPTION")%></td>

                                <td style="text-align: center;"><%#Eval("PLACE")%></td>
                                <td style="text-align: center;"><%#Eval("CONTENT")%></td>
                                <td style="text-align: center;"><%#Eval("LEDGERCATE")%></td>
                                <td style="text-align: center;"><%#Eval("REASON")%></td>
                                
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </tbody>
            </table>
        </div>
        <div class="panelBar">
            <div class="pages">
                <span>显示</span>
                <select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
                    <option value="<%=NumPerPage %>">选择</option>
                    <option value="20">20</option>
                    <option value="50">50</option>
                    <option value="100">100</option>
                    <option value="200">200</option>
                </select>
                <span>条，共<%=TotalCount%>条</span>
            </div>
            <div class="pagination" targettype="navTab" totalcount="<%=TotalCount%>" numperpage="<%=NumPerPage %>" pagenumshown="<%=PageNumShown %>"
                currentpage="<%=PageNum %>">
            </div>
        </div>
    </div>
</body>
</html>
